<template>
  <div class="it">
      <div class="img">
         <img class="imgs" :src="setopt.txt==who?setopt.iconde:setopt.iconac" alt="">
      </div>
      <div class="txt">
         {{setopt.txt}}
      </div>
  </div>
</template>

<script>

export default {
   props:["setopt","who"]
}
</script>

<style>
.it{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.img{
    height: 25px;
    width: 25px;
}
  .img .imgs{
    width: 100%;
  }
</style>